package com.tju.shortlink.project.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import com.tju.shortlink.project.common.database.BaseDo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author mxl
 * @since 2024-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_link_access_stats")
@Schema(name="LinkAccessStats对象", description="LinkAccessStats对象")
public class LinkAccessStatsDO extends BaseDo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "完整短链接")
    private String fullShortUrl;

    @Schema(description = "日期")
    private Date date;

    @Schema(description = "访问量")
    private Integer pv;

    @Schema(description = "独立访客数")
    private Integer uv;

    @Schema(description = "独立IP数")
    private Integer uip;

    @Schema(description = "小时")
    private Integer hour;

    @Schema(description = "星期")
    private Integer weekday;


}
